﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
 <TABLE class=gridView id=ctl00_ContentPlaceHolder2_GridView1 
      style="WIDTH: 100%; BORDER-COLLAPSE: collapse" cellSpacing=0 rules=all 
      border=1>
              <TBODY>
                <TR>
                  <TH class=gridViewHeader style="WIDTH: 50px" scope=col>&nbsp;</TH>
                  <TH class=gridViewHeader scope=col>用户Id</TH>
                  <TH class=gridViewHeader scope=col>姓名</TH>
                  <TH class=gridViewHeader scope=col>密码</TH>
                  <TH class=gridviewHeader scope=col>修改</TH>
                  <TH class=gridviewHeader scope=col>删除</TH>
                </TR>
               <s:iterator value="#request.listManager" var="list" status="li" >
               <s:form name="f%{#li.count}" method="post" theme="simple" onsubmit="return false;">
                <TR>
                  <TD class=gridViewItem style="WIDTH: 50px"><IMG src="index.files/EmployeeMgr.files/bg_users.gif"> </TD>
                  <TD class=gridViewItem ><s:label value="%{#li.count}" theme="simple"/></TD>
                  <s:hidden name="manager.managerId" value="%{#list.managerId}" theme="simple"></s:hidden>
                  <TD class=gridViewItem ><s:textfield name="manager.manager" size="6" value="%{#list.manager}" theme="simple"/></TD>
                  <TD class=gridViewItem ><s:textfield name="manager.managerPass" size="6" value="%{#list.managerPass}" theme="simple"/></TD>
                  <TD class=gridViewItem ><s:submit type="button" onclick="javascript:document.f%{#li.count}.action='managerAction!updateManager';document.f%{#li.count}.submit()" value="更新"/></TD>
                  <TD class=gridViewItem ><s:submit type="button" onclick="javascript:document.f%{#li.count}.action='managerAction!deleteManager';document.f%{#li.count}.submit()" value="删除"/></TD>
                </TR>
                </s:form>
                </s:iterator>
              </TBODY>
            </TABLE>
